package com.phx.serialjni;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class ActionReciver extends BroadcastReceiver {

    private static final String ACTION = "android.intent.action.USER_PRESENT";

    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent.getAction().equals(ACTION) ){
            //接收固定广播进行处理

            Log.e("dsdsad","user present");

        }
    }
}
